package com.shuzhi.dataway.util;

import lombok.Data;

/**
 * @author Siyuan.mlq
 * @version 1.0
 * @description
 * @since 2020/12/9
 */
@Data
public class Line<K, V> {

  private K name;

  private V value;

  public Line() {}

  public Line(K name, V value) {
    this.name = name;
    this.value = value;
  }

  public Line build() {
    return this;
  }

  public Line setNames(K name) {
    this.name = name;
    return this;
  }

  public Line setValues(V value) {
    this.value = value;
    return this;
  }
}
